package com.sefon.smarteconomy.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Id;
 
/**
 * 
 * Copyright: Copyright (c) 2018 SefonSoft 
 * 
 * @ClassName: User.java 
 * @Description:客户群分析
 * 
 * @version: v1.0.0
 * @author: SF2170
 * @by AnalysisExcel2File.java
 * @Date 2018/03/26 22:07:28
 * 
 */
@Entity
@Table(name="clients_analyze")
public class ClientsAnalyze {

	/**
	* UUID  主键
	*/
	@Id 
	@Column(name="`id`", length=64, columnDefinition="varchar(64) COMMENT '用户群分析ID'")
	private String id;

	/**
	* 关联id
	*/
	@Column(name="`grp_id`", length=255, columnDefinition="varchar(255) COMMENT '用户群id'")
	private String grpId;

	/**
	* 按照发布时间排序
	*/
	@Column(name="`publish_time`", columnDefinition="datetime COMMENT '发布时间'")
	private Date publishTime;

	/**
	* 已json格式存储
	*/
	@Lob  
	@Column(name="`chart_data`", columnDefinition="text COMMENT '发布数据'")
	private String chartData;

	@Column(name="`chart_name`", length=255, columnDefinition="varchar(255) COMMENT '图表名称'")
	private String chartName;

	@Column(name="`chart_type`", length=255, columnDefinition="varchar(255) COMMENT '图表类型'")
	private String chartType;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getGrpId() {
		return grpId;
	}

	public void setGrpId(String grpId) {
		this.grpId = grpId;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public String getChartData() {
		return chartData;
	}

	public void setChartData(String chartData) {
		this.chartData = chartData;
	}

	public String getChartName() {
		return chartName;
	}

	public void setChartName(String chartName) {
		this.chartName = chartName;
	}

	public String getChartType() {
		return chartType;
	}

	public void setChartType(String chartType) {
		this.chartType = chartType;
	}

}
